/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaproject;

/**
 *
 * @author hanxiao
 */
public class UserInfo {
    private int id;
    private String name;
    private String point;
    
    public UserInfo(){
        
    }
    
    public UserInfo(int id, String name, String point){
        this.id = id;
        this.name = name;
        this.point = point;
    }
    
    public UserInfo(int id, String point){
        this.id = id;
        this.point = point;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the point
     */
    public String getPoint() {
        return point;
    }

    /**
     * @param point the point to set
     */
    public void setPoint(String point) {
        this.point = point;
    }
    
    public String toString(){
        return this.id+ ".  "+ this.getName()+"\t"+this.getPoint();
    }

    /**
     * @return the detail
     */
}
